home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / PowerPlant / LProgressIndicator & Friends / LThermometerPane / WindoidUtil.h < prev   
Encoding:
Text File  |  1995-04-28  |  1005 b   |  45 lines  |  [TEXT/CWIE]

  1. // * This module contains data & proclaimations borrowed
  2. // * from the Infinity Windoid, written by Troy Gaul.
  3. // * ©1991-1995 Infinity Systems.  All Rights Reserved.
  4.  
  5. #ifndef __WindoidUtil__
  6. #define __WindoidUtil__
  7.  
  8. // -----------------------------------------------------------------------------
  9.  
  10. #ifndef __WindoidDefines__
  11. //#include "WindoidDefines.h"
  12. #endif
  13.  
  14. #ifdef __cplusplus
  15. extern "C"
  16. {
  17. #endif
  18.  
  19. #define IsOdd(value) ((value) & 1)
  20. #define IsEven(value) (!IsOdd(value))
  21.  
  22. enum {
  23.     wHiliteColorLight = 5, 
  24.     wHiliteColorDark,
  25.     wTitleBarLight,
  26.     wTitleBarDark,
  27.     wDialogLight,
  28.     wDialogDark,
  29.     wTingeLight,
  30.     wTingeDark
  31. };
  32.  
  33. // -----------------------------------------------------------------------------
  34.  
  35. void WctbForeColor(WindowPeek window, short partCode);
  36.  
  37. void WctbBackColor(WindowPeek window, short partCode);
  38.  
  39. void GetWctbColor(WindowPeek window, short partCode, RGBColor *theColor);
  40.  
  41. #ifdef __cplusplus
  42. }
  43. #endif
  44. // *****************************************************************************
  45. #endif